package cn.stylefeng.guns.modular.task.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import lombok.Data;

/**
 * <p>
 * 作业明细表
 * </p>
 *
 * @author zhucx
 * @since 2021-06-08
 */
@TableName("task_detailed")
@Data
public class TaskDetailed implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 状态
     */
    @TableField("status")
    private String status;

    /**
     * 作业单ID
     */
    @TableField("task_id")
    private Long taskId;

    /**
     * 作业单号
     */
    @TableField("order_number")
    private String orderNumber;

    /**
     * 客户单号
     */
    @TableField("customer_number")
    private String customerNumber;

    /**
     * 核算方式
     */
    @TableField("settlement_mode")
    private String settlementMode;

    /**
     * 明细
     */
    @TableField("detaileds")
    private String detaileds;

    /**
     * 作业人员ID
     */
    @TableField("user_id")
    private Long userId;

    /**
     * 作业人员
     */
    @TableField("user_name")
    private String userName;

    /**
     * 开始时间
     */
    @TableField("start_time")
    private String startTime;

    /**
     * 结束时间
     */
    @TableField("end_time")
    private String endTime;

    /**
     * 体积
     */
    @TableField("volume")
    private String volume;

    /**
     * 重量
     */
    @TableField("weights")
    private String weights;

    /**
     * 数量
     */
    @TableField("nums")
    private String nums;

    /**
     * 工时
     */
    @TableField("hours")
    private String hours;

    /**
     * 部门id
     */
    @TableField("dept_id")
    private Long deptId;

    /**
     * 交付客户id
     */
    @TableField("deliver_id")
    private Long deliverId;

    /**
     * 备注
     */
    @TableField("note")
    private String note;

    /**
     * v1
     */
    @TableField("v1")
    private String v1;

    /**
     * v2
     */
    @TableField("v2")
    private String v2;

    /**
     * v3
     */
    @TableField("v3")
    private String v3;

    /**
     * v4
     */
    @TableField("v4")
    private String v4;

    /**
     * v5
     */
    @TableField("v5")
    private String v5;

    /**
     * v6
     */
    @TableField("v6")
    private String v6;

    @Override
    public String toString() {
        return "TaskDetailed{" +
        "id=" + id +
        ", status=" + status +
        ", taskId=" + taskId +
        ", orderNumber=" + orderNumber +
        ", customerNumber=" + customerNumber +
        ", userId=" + userId +
        ", userName=" + userName +
        ", startTime=" + startTime +
        ", endTime=" + endTime +
        ", volume=" + volume +
        ", weights=" + weights +
        ", nums=" + nums +
        ", hours=" + hours +
        ", deptId=" + deptId +
        ", deliverId=" + deliverId +
        ", note=" + note +
        ", v1=" + v1 +
        ", v2=" + v2 +
        ", v3=" + v3 +
        ", v4=" + v4 +
        ", v5=" + v5 +
        ", v6=" + v6 +
        "}";
    }
}
